<?php
/************************FoxPHP威客系统************************/
/*                                                            */
/*  FoxPHP.Com (C)2006-2016 FoxPHP Inc.                       */
/*  This is NOT a freeware, use is subject to license terms   */
/*  FoxPHP威客系统是商业软件,使用于商业用途请购买授权         */
/*  V3.0 2016.3                                               */
/*  foxphp@aliyun.com                                         */
/*  http://www.foxphp.com                                     */
/*                                                            */
/**************************************************************/

return array(
	
	'URL_ROUTER_ON' => true,
	
	//URL正则
	'URL_ROUTE_RULES'=>array(
		'/^(\w+)\/p\/(\d+)$/'        => 'news/index/index?catid=:1&p=:2', 
		'/^p\/(\d+)$/'        => 'news/index/index?p=:1', 
		'/^(\d+)$/'        => 'news/index/show?id=:1', 
		'/^(\w+)$/'        => 'news/index/index?catid=:1', 
	),


);